package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

// 接口
public interface EmployeeService {
    //登录
    ResultInfo login(String username,String password);
    //查询
    List<Employee> findList(String name);
    //新增
    void save(Employee employee);
    //回显
    Employee findByid(Long id);
    // 修改
    void updateById(Employee employee);
}
